home *** CD-ROM | disk | FTP | other *** search
- TROUBLESHOOTING
-
- Problem / Possible Solution
-
- Problem:
-
- Unexplained undefined externals at link time.
-
- Possible Solution(s):
-
- The library path for your compiler is not set properly.
-
- The order of the libraries in the link is incorrect.
- The libraries need to be linked in order of highest to lowest precedence
- in the link. Mrm and Xm would be first and X.lib would be last. See
- a sample makefile.
-
- The unresolved external "_edata" is fixed by
- adding the XGLU linker -DOSSEG option.
-
- Problem:
-
- Translation table warnings upon application startup.
-
- Need a new \dvx\lib\x11\xkeysymd.res file.
-
- Problem:
-
- Linking is very slow.
-
- Possible Solution(s):
-
- If you are linking large libraries that are compiled
- with debugging information the link will be slow.
-
- Linking and Compiling with GNU is very slow.
-
- Your DOS window needs to be nominally 500KB in size.
- Run optimize and examine your config.sys and autoexec.bat to find
- ways not to waste memory.
-
- Change the DVP file for your DOS window to allow 8-16MB
- of expanded memory usage. You must, of course, have that RAM available.
-
- Problem:
-
- Compiler or linker stops due to lack of memory.
-
- Possible Solution(s):
-
- Check the DVP file for the DOS window that you are using
- and increase the amount of expanded memory to accomodate.
-
- Problem:
-
- Program doesn't compile with MetaWare due to duplicate
- definition of "sleep()".
-
- Possible Solution(s):
-
- In Metaware version 3.2. the sleep() function is defined
- in both unistd.h and stdlib.h. This will be fixed in a future release.
- In the mean time, you can comment out the protype for sleep() in \highc\inc\stdlib.h.
-
- Problem:
-
- The Uil.exe appears to execute but doesn't produce a
- .uid output file or the Uil.exe doesn't execute.
-
- Possible Solution(s):
-
- Uil.exe will only run properly inside of DESQview/X
- because it relies on DESQview/X system library routines that require
- DESQview.
-
- Problem:
-
- DJGPP go32 programs crash upon startup.
-
- Possible Solution(s):
-
- If you have an old DJGPP intallation, you may have go32.exe
- in several places on your disk and they may be in your path. Find
- all of the old ones and delete them.
-
- Problem:
-
- Programs crash upon startup.
-
- Possible Solution(s):
-
- The program stack is too small. Initially increase the
- stack to be very large. If it fixes the problem decrease the stack
- to an appropriate value.
-
- The program bitmaps need to be in \<dvxdir>\include\x11\bitmaps.
-
- Resource file is required by app, but it is not found.
-
- The \dvx\lib\x11\nls directory is missing. It gets installed
- with DVX2.0 and this toolkit.
-
- The Resource file is in \dvx\app-defa but it is not being
- picked up at app startup.
-
- The home environment variable is overriding the default
- resource file location. Unset home and try it again or copy.
-
- Problem:
-
- The DESQview/X window manager doesn't stack Motif dialog
- boxes and child windows properly.
-
- Possible Solution(s):
-
- Add "WM.MOTIF +" to the wm.cfg file. This
- will tell the DESQview/X Window manager to have Motif Window manager
- behavior.
-
- Problem:
-
- Unexplained duplicately defined global data warnings
- by WLINK.
-
- Possible Solution(s):
-
- Externals are only case sensitive if you use the "caseexact"
- option with WLINK.
-
- Problem:
-
- Makefiles do not execute properly.
-
- Possible Solution(s):
-
- There are not hard tabs on action lines, use the -x
- switch with QMAKE or add the hard tabs.
-
- The action line exceeds your DOS shell command line
- maximum length.
-
- Problem:
-
- Watcom 10.0 executables have unexplained random crashes
- upon startup or at other times. This problem may occur in the xlsfonts,
- editres and periodic demos or other programs that use the qsort()
- function.
-
- Possible Solution(s):
-
- There is a bug in the Watcom 10.0 \watcom\lib386\dos\clib3s.lib
- qsort() function which is causing the problem. Substitute another
- qsort.obj on your link line. Contact Watcom for information on how
- to obtain patch level A for the Watcom 10.0 compiler which contains
- the fix.
-
-